<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息编辑</title>
</head>
<body>
    <h1 align="center">学生信息编辑</h1>
    <table align="center" border="1" width="500">
            <thead>
                <tr>
                    <th>学号:</th>
                    <th>学生姓名:</th>
                    <th>学生性别:</th>
                    <th>年龄:</th>
                    <th>所属院系:</th>
                    <th>专业名称:</th>
                    <th>联系方式:</th>
                    <th>家庭地址:</th>
                    <th>宿舍号:</th>
                </tr>
                </thead>
                <tbody>
                    <tr>
                        <td align="center">{{ obj.s_id }}</td>
                        <td align="center">{{ obj.s_name }}</td>
                        <td align="center">{{ obj.s_sex }}</td>
                        <td align="center">{{ obj.age }}</td>
                        <td align="center">{{ obj.s_college }}</td>
                        <td align="center">{{ obj.s_speciality }}</td>
                        <td align="center">{{ obj.s_phone }}</td>
                        <td align="center">{{ obj.s_adress }}</td>
                        <td align="center">{{ obj.depart_id }}</td>
                    </tr>
                </tbody>
    </table>
    <br>
    <div align="center" style="color: black">下面填写修改后信息：</div>
    <br>
    <form method="post">
                {% csrf_token %}
            <div align="center">
                学生姓名:<input type="text" name="name" placeholder="username"><br>
                学生性别:<input type="text" name="sex" placeholder="1(男)，2(女)"><br>
                学生年龄:<input type="text" name="age" placeholder="age"><br>
                所属院系:<input type="text" name="college" placeholder="college"><br>
                专业名称:<input type="text" name="speciality" placeholder="speciality"><br>
                联系方式:<input type="text" name="phone" placeholder="phone"><br>
                家庭地址:<input type="text" name="adress" placeholder="adress"><br>
                宿舍号码:<input type="text" name="depart_id" placeholder="depart_id"><br><br>
                <input type="submit" value="提交">
            </div>
                </form>
</body>
</html>